package com.jinmdz.fmis.api.admin.model.hall;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.dao.model.dictionary.DataDictionaryItem;
import com.jinmdz.fmis.dao.model.dictionary.ServiceDictionaryRuleItem;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 礼厅加载列表项
 *
 * @author LiCongLu
 * @date 2020-03-12 17:21
 */
public class HallLoadData extends BaseBean {
    /**
     * 礼厅信息
     */
    @AnValidate(name = "礼厅信息")
    @ApiModelProperty(value = "礼厅信息", name = "hall", position = 1)
    private HallSaveData hall;

    /**
     * 字典数据
     */
    @AnValidate(name = "字典数据")
    @ApiModelProperty(value = "字典数据", name = "dicts", position = 2)
    private HashMap<String, ArrayList<DataDictionaryItem>> dicts;

    /**
     * 业务服务字典规则
     */
    @AnValidate(name = "业务服务字典规则")
    @ApiModelProperty(value = "业务服务字典规则", name = "ruleItems", position = 3)
    private ArrayList<ServiceDictionaryRuleItem> ruleItems;

    public HallSaveData getHall() {
        return hall;
    }

    public HallLoadData setHall(HallSaveData hall) {
        this.hall = hall;
        return this;
    }

    public HashMap<String, ArrayList<DataDictionaryItem>> getDicts() {
        return dicts;
    }

    public HallLoadData setDicts(HashMap<String, ArrayList<DataDictionaryItem>> dicts) {
        this.dicts = dicts;
        return this;
    }

    public ArrayList<ServiceDictionaryRuleItem> getRuleItems() {
        return ruleItems;
    }

    public HallLoadData setRuleItems(ArrayList<ServiceDictionaryRuleItem> ruleItems) {
        this.ruleItems = ruleItems;
        return this;
    }
}